function foo() {
  c = 3
}
foo()

console.log(c);